-- GENERATED SPELL FOR [Galak Flame Guard] --


function spell0_7404(pUnit, Event) --@Demoralizing Shout,Self--
pUnit:FullCastSpellOnTarget(13730,pUnit)
pUnit:RegisterEvent('Sorts_7404', 30317, 1)
end

function Sorts_7404(pUnit, Event)
local choix_sorts_7404 = math.random(0, 0)
if choix_sorts_7404 == 0 then
pUnit:RegisterEvent('spell0_7404', 1, 1)
end
end

function mob7404_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7404', math.random(1500, 3000), 1)
end

function mob7404_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7404_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7404_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7404, 1, 'mob7404_Action')
RegisterUnitEvent(7404, 2, 'mob7404_Leave')
RegisterUnitEvent(7404, 3, 'mob7404_Kill')
RegisterUnitEvent(7404, 4, 'mob7404_Die')
